<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #pagination {
      width: 100%;
      margin-top: 10px;
    }
  </style>
  <link rel="stylesheet" href="/sytle/super-ul.css">
</head>

<body>
  <div id="pagination">

  </div>
  <script src="/js/jquery.min.js"></script>
  <script src="/module/pagination/index.js"></script>
  <script>
    $(function () {
      const paging = $('#pagination').SuperPaging({
        total: 160,
        handleSizeChange(num) {
          console.log('得到当前页数:', num);
        },
        handleCurrentChange(num) {
          console.log('当前页:', num);
        }
      })

      console.log('SuperPaging返回:', paging);
    })
  </script>
</body>

</html>